package cn.service.app_category;

import cn.mapper.app_category.App_categoryMapper;
import cn.pojo.App_category;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;
@Transactional(rollbackFor = Throwable.class)
@Service("app_categoryService")
public class App_categoryServiceImpl implements App_categoryService {
    @Resource
    private App_categoryMapper app_categoryMapper;

    @Override
    public List<App_category> getApp_category1() {
        return app_categoryMapper.getApp_category1();
    }

    @Override
    public List<App_category> getApp_category2(Integer parentId) {
        return app_categoryMapper.getApp_category2(parentId);
    }

    @Override
    public List<App_category> getApp_category3(Integer parentId) {
        return app_categoryMapper.getApp_category3(parentId);
    }
}
